Fix stale Command Center failure status and expose Codex repair - #13
Open
awtprod wants to merge 2 commits into
Open
Fix stale Command Center failure status and expose Codex repair#13awtprod wants to merge 2 commits into
awtprod wants to merge 2 commits into
Conversation
awtprod
marked this pull request as ready for review
August 2, 2026 03:36
awtprod
force-pushed
the
agent/fix-command-center-failed-run-status
branch
from
August 2, 2026 21:06
fbb9af1 to
e3c0bd4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Why
Command Center marks a run as running as soon as its provider turn is dispatched. A Codex startup failure can occur before the provider runtime emits the event normally used to close that run. The linked task therefore showed Failed while the routing receipt stayed Running.
The lifecycle change also introduced an
OrchestrationEngineServicedependency without providingOrchestrationLayerLivetoRunLifecycleLayerLive. Packaged desktop backends then exited withService not found, leaving Electron running without creating a window.The provider repair action added in #12 was also available only inside expanded provider details when Codex was current, making it difficult to discover in the missing-Windows-sandbox-files case.
Impact
Failed Codex startup now appears consistently as failed in the task, sidebar, and route receipt. The desktop server resolves its lifecycle dependencies and launches normally. Windows users with a managed Codex installation can directly update or reinstall it from the provider row, even when it reports the latest version.
Validation
vp staged --concurrent 2passed.127.0.0.1:3773, and HTTP 200 from the environment endpoint.EPERM.node scripts/public-leak-scan.ts --stageddid not complete on this Windows checkout and timed out twice after ten minutes without reporting a finding.Model: GPT-5 via Codex desktop app.